package runnable;

public class RunnableMain {
    public static void main(String[] args) {
        Thread t = new Thread(new Myrunnable());
        Thread t2 = new Thread(new Myrunnable());
        t.setName("线程1:");
        t2.setName("线程2:");
        t.start();
        t2.start();
    }
}
